* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

.item {
  width: 230px;
  height: 140px;
  margin: 30px auto;
  position: relative;
}

.item img {
  width: 230px;
  height: 140px;
}

.aside {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0 5px;
  line-height: 20px;
}
.aside .numer::before {
  content: "";
  display: inline-block;
  background-image: url("../assetss/icons.png");
  background-repeat: no-repeat;
  background-position: -255px -63px;
  width: 14px;
  height: 14px;
  vertical-align: -1px;
  margin-right: 3px;
}

.modal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

.item:hover .modal {
  display: block;
}

.modal a {
  background-image: url("../assetss/icons.png");
  position: absolute;
  width: 42px;
  height: 42px;
  background-position: -191px -63px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.left {
  float: left;
}

.right {
  float: right;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
